﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ControlCenter.Model.WebApiDto
{
    /// <summary>
    /// 日志查询API返回结果DTO
    /// </summary>
    public class LogQueryReturnDto
    {
        /// <summary>
        /// 行号
        /// </summary>
        public int RowNo { get; set; }

        /// <summary>
        /// 执行队列ID
        /// </summary>
        public Guid ExecutionQueueId { get; set; }

        /// <summary>
        /// 机器人Id
        /// </summary>

        public Guid RobotId { get; set; }

        /// <summary>
        /// 包id
        /// </summary>
        public Guid PackageId { get; set; }

        /// <summary>
        /// 包名称
        /// </summary>
        public string PackageName { get; set; }

        /// <summary>
        /// 执行时间
        /// </summary>
        public DateTime ExecutionDate { get; set; }

        /// <summary>
        /// 执行时长(秒)
        /// </summary>
        public int ExecutionTime { get; set; }

        /// <summary>
        /// 执行状态
        /// </summary>
        public ExecutionStatus Status { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        public string Message { get; set; }
    }
}
